package com.chuangke.admin.service;

import java.util.List;

import com.chuangke.admin.entity.SysRole;
import com.chuangke.admin.entity.SysUser;
import com.chuangke.admin.entity.SysUserRole;

public interface SysUserRoleQueryService {
	
	List<SysUser> findUserByRoleName(String role);
	
	List<SysUserRole> findByUserId(String userId) ;
	
	List<SysRole> findRoleByUserId(String id) ;
	
	boolean isUserHaveRoleName(String userId,String roleName) ;

}
